package com.tyae.dao;

import java.util.List;

import com.tyae.bean.Vara;


public interface VaraDAO {
	
	public boolean inserir(Vara vara) throws Exception;
	
	public boolean alterar(Vara vara) throws Exception;
	
	public boolean isExclusaoLiberada(Vara vara);
	
	public boolean excluir(Vara vara) throws Exception;
	
	public List<Vara> getSelecionar(String descricao);
	
	public List<Vara> getSelecionar(String descricao, int empresa);	
	
	public Vara getVara(int codigoVara);
	
	public List<Vara> getListarTodos();
	
	public boolean isExiste(Vara vara);	

}
